home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / OpenGL-ftn / fglarrayelement.z / fglarrayelement
Encoding:
Text File  |  2001-04-17  |  5.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ffffggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt((((3333GGGG))))            OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee            ffffggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ffffggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt - render a vertex using the specified vertex array
  10.      element
  11.  
  12.  
  13. FFFFOOOORRRRTTTTRRRRAAAANNNN SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  14.      SUBROUTINE ffffggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt( INTEGER*4 _i )
  15.  
  16.  
  17. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  18.      _i  Specifies an index into the enabled vertex data arrays.
  19.  
  20. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.      ffffggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt commands are used within ffffggggllllBBBBeeeeggggiiiinnnn/ffffggggllllEEEEnnnndddd pairs to specify
  22.      vertex and attribute data for point, line, and polygon primitives. If
  23.      GGGGLLLL____VVVVEEEERRRRTTTTEEEEXXXX____AAAARRRRRRRRAAAAYYYY is enabled when ffffggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt is called, a single
  24.      vertex is drawn, using vertex and attribute data taken from location _i of
  25.      the enabled arrays. If GGGGLLLL____VVVVEEEERRRRTTTTEEEEXXXX____AAAARRRRRRRRAAAAYYYY is not enabled, no drawing occurs
  26.      but the attributes corresponding to the enabled arrays are modified.
  27.  
  28.      Use ffffggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt to construct primitives by indexing vertex data,
  29.      rather than by streaming through arrays of data in first-to-last order.
  30.      Because each call specifies only a single vertex, it is possible to
  31.      explicitly specify per-primitive attributes such as a single normal per
  32.      individual triangle.
  33.  
  34.      Changes made to array data between the execution of ffffggggllllBBBBeeeeggggiiiinnnn and the
  35.      corresponding execution of ffffggggllllEEEEnnnndddd may affect calls to ffffggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt
  36.      that are made within the same ffffggggllllBBBBeeeeggggiiiinnnn/ffffggggllllEEEEnnnndddd period in non-sequential
  37.      ways.  That is, a call to
  38.      ffffggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt that precedes a change to array data may access the
  39.      changed data, and a call that follows a change to array data may access
  40.      original data.
  41.  
  42. NNNNOOOOTTTTEEEESSSS
  43.      ffffggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt is available only if the GL version is 1.1 or greater.
  44.  
  45.      ffffggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt is included in display lists. If ffffggggllllAAAArrrrrrrraaaayyyyEEEElllleeeemmmmeeeennnntttt is
  46.      entered into a display list, the necessary array data (determined by the
  47.      array pointers and enables) is also entered into the display list.
  48.      Because the array pointers and enables are client-side state, their
  49.      values affect display lists when the lists are created, not when the
  50.      lists are executed.
  51.  
  52.  
  53. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  54.      ffffggggllllCCCCoooolllloooorrrrPPPPooooiiiinnnntttteeeerrrr, ffffggggllllDDDDrrrraaaawwwwAAAArrrrrrrraaaayyyyssss, ffffggggllllEEEEddddggggeeeeFFFFllllaaaaggggPPPPooooiiiinnnntttteeeerrrr, ffffggggllllGGGGeeeettttPPPPooooiiiinnnntttteeeerrrrvvvv,
  55.      ffffggggllllIIIInnnnddddeeeexxxxPPPPooooiiiinnnntttteeeerrrr, ffffggggllllIIIInnnntttteeeerrrrlllleeeeaaaavvvveeeeddddAAAArrrrrrrraaaayyyyssss, ffffggggllllNNNNoooorrrrmmmmaaaallllPPPPooooiiiinnnntttteeeerrrr,
  56.      ffffggggllllTTTTeeeexxxxCCCCoooooooorrrrddddPPPPooooiiiinnnntttteeeerrrr, ffffggggllllVVVVeeeerrrrtttteeeexxxxPPPPooooiiiinnnntttteeeerrrr
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.